package org.dllwh.mongodb.model;

import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 把今天最好的表现当作明天最新的起点．．～
 * <p>
 * Today the best performance as tomorrow the newest starter!
 *
 * @ClassName SysUser
 * @Description 定义对应集合的实体类
 * @Author: <a href="mailto:duleilewuhen@sina.com">独泪了无痕</a>
 * @Date 2025-05-09 22:42
 * @版本 V 1.0.1
 * @since JDK 17
 */
@Data
@Builder
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class SysUser {
    @Id
    private String id;
    @Field("name")
    private String name;
    private String gender;
    private Integer age;
}